package com.isscollage.utils;

import java.util.UUID;

public class UUIDUtils {

	public static String getUUID(){
		return UUID.randomUUID().toString().replace("-", "");
	}
	public static void main(String args[]){
		System.out.println("这是格式前的UUID:"+UUID.randomUUID().toString().replace("-", ""));
		System.out.println("这是格式化后的UUID:"+getUUID());
	}
}
